Skip to content

Add task intake records and question prompts for inference workflows - #706

Open
jiangkuaixue123 wants to merge 28 commits into
InferMatrixLab:mainfrom
jiangkuaixue123:codex/intake-question-cards
Open

jiangkuaixue123 wants to merge 28 commits into
InferMatrixLab:mainfrom
jiangkuaixue123:codex/intake-question-cards

Conversation

@jiangkuaixue123

@jiangkuaixue123 jiangkuaixue123 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Governing Issue and delivery slice

Refs #606

Implements the accepted first-phase task intake for performance and Day-0. The existing primary-task router selects the task. The host asks about missing or conflicting settings and records where each answer came from. A performance campaign requires a quantified final target, a named quality benchmark with a numeric gate, and a separate approval of the staged launch. Both AB/BA and service-reuse retain the approved intake receipt.

The issue author requested this implementation for review. The scope decision records the accepted direction. The issue still needs named implementation and acceptance owners. Anchors touched: none.

Review at e3438caa

  • Synchronized with main at ba4637e2. Manager stages and initializes campaigns. Evaluator applies the approved performance and quality conditions. Historical service records without a quality unit keep their native scoring scale.
  • Both executor and evidence replay now compute the service attempt gate from the same frozen plan and retained references. This fixes the settlement mismatch found by four Linux tests on 944e6cb9. Previous Linux CI
  • The service final regression covers a final where the baseline is still selected. There is no self-gain requirement. An achievable absolute target continues to the independent quality check, while an unmet absolute or relative target records FAIL / final_performance_target_not_met.
  • The preceding increment moved quality-unit conversion into the existing evaluator module, preserving the Harness API's declared import graph. The preceding full diff and one-part increment reconstruct 944e6cb9. The current full diff and latest increment reconstruct e3438caa.
  • The previous full diff and service final increment reconstruct the preceding head tree. The previous PR description preserves the prior review history and Desktop evidence.

Verification

  • 108 focused tests passed on macOS/Python 3.12. The run includes the Harness API import-graph regression, the task-intake CLI and service scorer checks, and all three service final-target cases replayed from retained receipts. It covers both a passing quality check and failing performance gates, and verifies that altering the retained gate is rejected. Ruff passed.
  • Ready CI on e3438caa passed. Linux Python 3.10 and 3.11 each reported 7,802 passed, 93 skipped, 1 deselected and 677 passing subtests, including the four service-final tests that failed on 944e6cb9. The two installed-package jobs, browser tests and both advisory host jobs passed. The required knowledge declaration check is still awaiting the requested owner exception.
  • On this head, the declared-source skill index, skill coverage and SearchSpace index each exited 0. On 944e6cb9, the isolated wheel verified 777 resources and repeated the installed CLI stale-card sequence successfully.
  • The earlier macOS full-suite comparison identified the import-graph failure fixed in this increment. Both runs reported 214 failures. The failure sets differed in that import-graph check and a baseline-only process-cleanup failure.
  • On the preceding integration commit, 153 focused tests passed, the skill index, coverage and SearchSpace projections matched, and the installed wheel verified 777 resources. The installed CLI rejected the stale P95 response, kept the unaffected sibling card and accepted the current P99 response. Earlier Ready CI
  • The current commit has not replayed Desktop or run model/device acceptance. Current checks

Knowledge authorship declaration

The current head requests review of a knowledge admission exception by the designated owner.

{
  "schema_version": 1,
  "head_sha": "e3438caa9e2414b39a7526a9de59efa50e5a9459",
  "human_only": false,
  "material_ai_authors": [
    {
      "tool": "Claude Code",
      "model_id": "claude-fable-5-2",
      "effort": "xhigh",
      "role": "author"
    },
    {
      "tool": "Codex",
      "model_id": "gpt-6.2-astra",
      "effort": "xhigh",
      "role": "author"
    },
    {
      "tool": "Claude Code",
      "model_id": "claude-opus-5-5",
      "effort": "low",
      "role": "author"
    },
    {
      "tool": "Codex",
      "model_id": "unknown",
      "effort": "unknown",
      "role": "author"
    }
  ],
  "exception": {
    "paths": [
      "src/inferrsi/knowledge/data/skill_library/_compiled/_provenance.json",
      "src/inferrsi/knowledge/data/skill_library/_compiled/inputs.json",
      "src/inferrsi/knowledge/data/skill_library/tasks/inference-task-router/SKILL.md",
      "src/inferrsi/knowledge/data/skill_library/tasks/task-day-0/intake.json",
      "src/inferrsi/knowledge/data/skill_library/tasks/task-performance/SKILL.md",
      "src/inferrsi/knowledge/data/skill_library/tasks/task-performance/intake.json"
    ],
    "reason": "The protected knowledge files and generated indexes carry forward the earlier declared authorship. Claude Code with claude-opus-5-5 at low effort contributed follow-up tests and non-knowledge intake code. The Codex session that integrated the Harness refactor has an unknown exact model identifier and effort. Both contributions are disclosed here."
  }
}

jiangkuaixue123 and others added 3 commits November 26, 2026 11:04
… gate

A vague request such as "make the service faster without losing quality"
reaches campaign start with no record of which conditions the user stated.
Add a host-independent intake record that a question card and a numbered
text fallback both write, so missing inputs are asked once and kept.

- apps/cli/intake_contract.py: pure functions for question selection by
  batch and dependency, answers, stale and duplicate rejection, frozen gate
  comparison and the derived allowed next stages.
- task-performance and task-day-0 field specs next to their skills.
- task intake evaluate / answer / summary commands.
- campaign start --intake refuses an incomplete task-performance record
  before writing anything and retains the gated record with its digest.

An acceptance value is confirmed only when its declared source is the
acceptance issue or the frozen gate record; a card answer stays a proposal
and does not unblock candidate search. Without --intake, campaign start
warns and proceeds as before.

Agent-assisted-by: Claude Code / claude-fable-5-2 [effort=xhigh] (author)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Signed-off-by: jiangkuaixue123 <[email protected]>
Agent-assisted-by: Claude Code / claude-fable-5-2 [effort=xhigh] (author)
Signed-off-by: jiangkuaixue123 <[email protected]>
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Skill evaluation

PLANNED: not executed; there are no task outcomes yet.
No approval, model efficacy or current-head test result is implied.

  • Next: run the pinned source/index --check below at head e3438caa9e2414b39a7526a9de59efa50e5a9459.
  • Task selection: no supported automatic comparison; choose a relevant source/content check and disposition uncovered claims.
  • Selected comparisons: 0 · Estimated task calls: 0. Uncovered/unsupported changes: 48; Canonical library paths: 4; Generated projection paths: 2; Other paths: 42. These are paths, not independent claims.
  • Return: command, input/source pin, exit status, outputs/failures and untested claims for independent verified/refuted/unverified disposition.
Author verification steps (nonpaid; not yet run)
  1. Bind the checkout. Run git rev-parse HEAD; it must equal e3438caa9e2414b39a7526a9de59efa50e5a9459. If it differs, obtain a current plan; do not reuse old results.
  2. Check source/index consistency. At that PR checkout, using the reviewed repository tool and its documented development dependencies, run:
python tools/build_skill_index.py --source-revision 6f5775d29d3546732113900ef811d60a5943aa62 --check

The declared source pin matches this head's canonical library bytes. The command has not run: retain its exit code and full drift/success output. It checks the generated projection, not claim truth or skill efficacy.
No supported automatic comparison is selected. Review the canonical changes and explain which claims need evidence, are unaffected, or remain unverified; do not treat generated records as separate behavioral claims.
Uncovered scope by location: Canonical library paths: 4; Generated projection paths: 2; Other paths: 42. Path counts are not claim counts; no metadata-only conclusion is inferred.
3. Return evidence for independent review: head, check/task/source pin, command, environment, exit status, outputs/failures and untested claims. Label scripted controls. Request each claim's disposition: verified, refuted or unverified; this plan proves neither model provenance nor benefit.
Check recipes and evidence limits

Evidence and logs · Retention: 30 days.
Retained artifacts are verifiable only before Unix time 1798342481 while the linked artifact is available. Expired evidence is unverified.

Plan bindings, budget, frozen exam and advisory details

Advisory: obtain missing evidence

Retained evidence availability: planned / unexecuted. No approval or merge authorization is issued.
Applicable only while these revisions and inputs match the current PR.
Paid execution requires trusted label authorization and cumulative PR reservation. Unknown accounting blocks new paid calls; planning is not execution.
Pipeline evidence only; offline fixed outputs do not establish skill efficacy.
Unchanged-correct is valid neutral evidence, not incremental benefit.
Content/source review and authorship admission remain separate.
Trusted regrading checks retained answers, not model/hardware provenance or a hostile executor; this is not an efficacy certification.

  • Retained evidence is planned / unexecuted.
  • No supported comparison cases were selected.
  • Uncovered/unsupported scope needs a case or explicit reviewer disposition.
    Plan SHA-256: b7c11dc7d04a180defa58d79993a907617527001c51eccbc92abf5f68a5fc5d4
    Base: ba4637e2b81bba036a62be0da35353559b7284d9 · Head: e3438caa9e2414b39a7526a9de59efa50e5a9459
    Trusted implementation: f0a67c81cb02a7e7e9926984c87aab035dbadf81

Model/settings: {"effort":"not_applicable","name":"claude-opus-5-5"}
Budget: {"comparisons":0,"estimated_calls":0,"limits_per_comparison":{"campaign_seconds":600,"max_task_calls":2,"repeats":1,"timeout_seconds":180,"token_stop_new_trials":200000},"provider_config_sha256":"b28d80f8194fbe0f5a9f01515efb24b218979fd45f702776560da276f4b30d04","reservation":null}

Skill Comparison Cases Estimated calls

Automatic execution / cumulative PR budget:

{"reason":"Trusted configuration or pricing missing, invalid or expired","remaining_usd":"unknown","reserved_or_unresolved_usd":"unknown","spent_or_legacy_usd":"unknown","state":"blocked"}

Projection check selection (not an executed result):

{"declared_in":"src/inferrsi/knowledge/data/skill_library/_compiled/_provenance.json","source_revision":"6f5775d29d3546732113900ef811d60a5943aa62","status":"ready"}

Provider/settings: {"client":{"api_version":"2023-06-01","endpoint":"https://yibuapi.com/v1/messages","kind":"anthropic-messages-full-context-v1","max_output_tokens":4096,"max_read_bytes":32768,"max_request_bytes":262144,"max_requests":1,"max_tool_calls":12,"provider":"yibuapi"},"limits":{"token_stop_new_trials":200000},"model":{"effort":"not_applicable","name":"claude-opus-5-5"},"pricing":{"currency":"USD","expires_at":1793271228,"group":"default","max_input_tokens":1000000,"model":"claude-opus-5-5","rate_evidence":"https://github.com/InferMatrixLab/InferRSI/issues/215#issuecomment-6467531341","rates":{"cache_read":"0.4","cache_write":"10","input":"8","output":"40"},"request_fee":"0","unit":"per_million_tokens"},"spend_limit":{"amount":"200","currency":"USD"}}

Uncovered / unsupported paths (48)
  • uncovered: "AGENTS.md"
  • uncovered: "docs/apps-module-migrations.json"
  • uncovered: "docs/guides/operations.md"
  • uncovered: "docs/guides/optimization-workflow-unification.md"
  • uncovered: "docs/guides/service-reuse-campaigns.md"
  • uncovered: "docs/guides/task-input.md"
  • uncovered: "docs/guides/task-intake.md"
  • uncovered: "docs/searchspace-index.json"
  • uncovered: "docs/skill-coverage.md"
  • uncovered: "plugins/inferrsi/skills/inferrsi/SKILL.md"
  • uncovered: "src/inferrsi/apps/cli/init.py"
  • uncovered: "src/inferrsi/apps/cli/arguments.py"
  • uncovered: "src/inferrsi/apps/cli/campaign_intake.py"
  • uncovered: "src/inferrsi/apps/cli/intake_contract.py"
  • uncovered: "src/inferrsi/apps/cli/task_input.py"
  • uncovered: "src/inferrsi/apps/cli/task_intake.py"
  • uncovered: "src/inferrsi/harness/evaluator/init.py"
  • uncovered: "src/inferrsi/harness/evaluator/_project.py"
  • uncovered: "src/inferrsi/harness/evaluator/_service.py"
  • uncovered: "src/inferrsi/harness/evaluator/_service_evidence.py"
  • uncovered: "src/inferrsi/harness/executor/_project.py"
  • uncovered: "src/inferrsi/harness/executor/serving/_attempt.py"
  • uncovered: "src/inferrsi/harness/executor/serving/_plan.py"
  • uncovered: "src/inferrsi/harness/manager/init.py"
  • uncovered: "src/inferrsi/harness/manager/_requests.py"
  • uncovered: "src/inferrsi/harness/manager/_session.py"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/_compiled/_provenance.json"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/_compiled/inputs.json"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/tasks/inference-task-router/SKILL.md"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/tasks/task-day-0/intake.json"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/tasks/task-performance/SKILL.md"
  • uncovered: "src/inferrsi/knowledge/data/skill_library/tasks/task-performance/intake.json"
  • uncovered: "tests/apps/test_engineering_benchmark_plugins.py"
  • uncovered: "tests/apps/test_project_explanation.py"
  • uncovered: "tests/apps/test_project_optimization.py"
  • uncovered: "tests/apps/test_project_service_reuse.py"
  • uncovered: "tests/apps/test_session_ranking_policy.py"
  • uncovered: "tests/apps/test_task_intake.py"
  • uncovered: "tests/fixtures/campaign_intake.py"
  • uncovered: "tests/fixtures/intake/performance/complete.json"
  • uncovered: "tests/fixtures/intake/performance/frozen-gate.yaml"
  • uncovered: "tests/fixtures/intake/performance/frozen-mismatch.yaml"
  • uncovered: "tests/fixtures/intake/performance/partial.json"
  • uncovered: "tests/fixtures/service_reuse.py"
  • uncovered: "tests/fixtures/service_reuse_protocol.py"
  • uncovered: "tests/harness/test_project_objectives.py"
  • uncovered: "tests/harness/test_service_reference_evidence.py"
  • uncovered: "tests/repository/check_installed.py"

Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (author)
Signed-off-by: jiangkuaixue123 <[email protected]>
@Dong1017 Dong1017 added area:apps Apps line: CLI, Python entrypoints, host inspection, workflows, views, and adapters area:harness Harness module: profile, A/B loop, quality gates, evidence reports labels Nov 26, 2026

@david6666666 david6666666 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dot, acting for @david6666666 under delegated PR review.

An intake conflict still cannot be resolved through the stated question workflow. This is separate from the already announced acceptance-source binding update.

Keep workspace choices as suggestions, ask outstanding questions through the desktop host, and bind acceptance values to an independently selected issue or frozen snapshot. Re-evaluate existing intake records at campaign start.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (author)
Signed-off-by: jiangkuaixue123 <[email protected]>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (author)
Signed-off-by: jiangkuaixue123 <[email protected]>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (author)
Signed-off-by: jiangkuaixue123 <[email protected]>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (author)
Signed-off-by: jiangkuaixue123 <[email protected]>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (author)
Signed-off-by: jiangkuaixue123 <[email protected]>
Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (author)
Signed-off-by: jiangkuaixue123 <[email protected]>

@david6666666 david6666666 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dot, acting for @david6666666 under delegated PR review.

The revision-specific brief is useful. One execution-value validation gap remains in this draft; see the inline note.

@jiangkuaixue123
jiangkuaixue123 marked this pull request as ready for review November 26, 2026 06:39
…view

Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (author)
Signed-off-by: jiangkuaixue123 <[email protected]>
@jiangkuaixue123

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @jiangkuaixue123.

@david6666666 @Dong1017 @zengchuang-hw 麻烦评审这个版本 cebe9271。

  • @david6666666 请复核之前的两条意见。P95/P99 冲突现在覆盖了从卡片选择、保留为 proposed 到验收来源确认的完整路径。零重复、负轮数和非法时间预算都覆盖了新输入和旧记录。
  • @Dong1017 请重点看 intake 复用 task-input/v1 数值校验的边界,以及旧记录纠正后是否正确要求重新批准任务书。
  • @zengchuang-hw 请重点看 campaign 启动前的审批检查,以及用户修改性能目标后旧卡失效、修订版重新出卡的流程。

PR 描述中的桌面验证记录 列出了四轮六问和代答。304 项专项测试通过。本机全量测试的 136 个失败用例与干净基线逐项一致。

@Dong1017 Dong1017 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR review verdict — DO NOT PASS

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).

Dong-bot (authorized delegate for Dong1017), first review of base 51e475ad077ec88d60f9e8c561dc0415ca9855aa and head cebe9271fea2f0af4ba20075e63a5b3ca8c41eb9 (full diff mode, 25 files, +2634 -15). No formal Approve exists on this head; prior-reviews.md shows only COMMENTED reviews from @david6666666 on older commits and no outstanding CHANGES_REQUESTED.

Blockers

  1. Performance campaign gate is still opt-in, but #606 accepted it as default-on. The accepted first-phase scope in decisions.md (#606, 2026-11-25T15:01:13Z) includes a campaign-start gate that is default-on for performance. At head, --intake is an optional flag on campaign start (src/inferrsi/apps/cli/arguments.py:186-188), and the PR body's remaining-work list says performance campaigns started without --intake currently warn and proceed. Required: performance campaign start refuses an incomplete intake by default, with a tested, explicit opt-out only if the owner decides on one, plus regression tests for the default path.

  2. Knowledge-model policy is not satisfied for this head. .github/knowledge-model-policy.json protects src/inferrsi/knowledge/data/skill_library/** (lines 4-5) and names approval_owners: ["Dong1017"] with independent_approvers: [] (lines 48-49). The PR declares human_only: false with Claude Code and Codex as material authors, and the performance spec src/inferrsi/knowledge/data/skill_library/tasks/task-performance/intake.json is at head under that protected path. No knowledge-authorship exception for cebe9271 is recorded in decisions.md. Per the repository precedent on #518, Dong-bot does not post this grant; it needs an exact-head grant from the approval owner by hand, or the protected-path changes need to be separated from this PR.

  3. Required evidence is incomplete: the full diff was not reviewed. The 146 KB pr/diff.patch could not be opened in this session, so I have not verified the 25-file change set. Not verified: that no skills-route change (#606 §3 is excluded by Dong1017's decision) is in the diff, the four canonical library paths the skill-eval bot lists, and tests/apps/test_task_intake.py. A PASS needs that evidence.

Earlier findings (read at head, not executed)

  • Execution bounds (resolved by reading). Numeric task-input/v1 fields go through _coerce → task_input.field_value_problem (src/inferrsi/apps/cli/intake_contract.py:274-281). That check runs for set_fields (:370), answer (:711) and reconcile_record, which reopens older out-of-range values (:329-339). count requires at least 1 and minutes requires 0 < value ≤ 7 days (src/inferrsi/apps/cli/task_input.py:267-274). Repetitions=0, rounds=-1 and max_minutes=-5 should therefore be rejected for new answers and loaded records.
  • P95/P99 conflict loop (resolved by reading). An explicit answer replaces the conflicting entry with the chosen value and status (intake_contract.py:709-716). Repeated imports cannot reselect an open choice (:392-399), which is intentional. An Issue value settles a field only when its reference is selected (:309-317).

Not verified here

  • No tests were run. The PR body's counts (304 focused, 54 intake, 7,432 passed / 136 failed full suite) are not reproduced. The skill-eval bot still lists the tools/build_skill_index.py --check run as not executed.
  • The Codex Desktop transcript and the campaign warn path were not traced beyond the PR body.

Next step

Author pushes the default-on campaign gate and the protected-path resolution, with the evidence above. Dong-bot will re-read the new head after the push (the next synchronize after a DO NOT PASS triggers an incremental re-check). Knowledge-policy grants remain with the owner by hand.


@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NO PASS
dot, acting for zengchuang-hw.

回应本轮检视邀请。首审:base 51e475ad077ec88d60f9e8c561dc0415ca9855aa → head cebe9271fea2f0af4ba20075e63a5b3ca8c41eb9。

阻塞项与验证
  1. 未提供审批记录时仍会启动性能 campaign。 CLI 启动分支 在未传入 --intake 时只打警告,然后调用 _optimization_session(args)。传了记录但记录未通过才会提前返回。这个行为不满足 #606 已接受的默认开启。请在创建 campaign 前拒绝没有有效批准的性能启动。
  2. 记录内的修订审批没有绑定到实际启动。 审批卡 把 revision 和确认条件写进卡 ID,这能区分不同版本的记录;但 启动校验 只评估传入记录及其引用,没有比较实际 invocation,启动后才保存 intake.json 并把 digest 返给调用者,没有写入冻结 plan/。请在创建前比对实际使用的目标、质量门槛和执行约束,将批准的 digest 写入计划。匹配的预审批应能无交互启动;缺失、过期或与实际参数不匹配的审批应在创建前停止。

实际验证:从当前 head 提取原始 CLI 分支,以本地 Python 和替身 launcher 执行三条路径:无记录到达 launcher;记录返回 ready 时实际启动参数未进入校验;记录返回 blocked 时未启动。另静态核对卡 ID、校验调用与 digest 写入位置。未独立重跑桌面问答、安装包、整套测试或真实性能 campaign。

Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (author)
Signed-off-by: jiangkuaixue123 <[email protected]>
…igns

Compare the staged AB/BA or service plan with the approved brief before creating the session. Freeze the receipt and enforce the numerical quality and independent final gates.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=xhigh] (author)
Signed-off-by: jiangkuaixue123 <[email protected]>
@jiangkuaixue123

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @jiangkuaixue123.

@Dong1017 @zengchuang-hw 请复审 c8095959。两条启动路径现在都要求已批准的任务书。缺少记录、审批过期、目标或执行参数不匹配都会在创建 campaign 前返回 2。匹配的预审批可以无交互启动。plan.json 指向含卡片 ID、修订号和 SHA-256 的冻结回执。

  • @zengchuang-hw 请重点检查 启动条件和回执、AB/BA 回归 和 服务复用回归。布尔质量检查通过但数值越界、搜索有收益但最终复测未达标,两种情况均已有实测。
  • @Dong1017 这个提交的知识作者声明检查已通过。基线规则列出了本 PR 声明的两个模型及其 xhigh 档位,例外条款适用于超出规则的声明。PR 描述提供了全部 37 个文件各自的源码和 diff 链接,包括四份 canonical skill 源文件、生成索引和完整 intake 测试。本次检查 · 规则和例外适用条件

完整桌面问答记录和本轮 CLI 复现结果已保留在 PR 描述。专项结果为 232 passed、1 skipped、54 subtests passed,独立安装的 wheel 检查验证了 777 项资源。

@Dong1017 Dong1017 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR review verdict — DO NOT PASS

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).

Re-review of base 51e475ad077ec88d60f9e8c561dc0415ca9855aa and head c80959595141ba5b1d3cfd3824fc1edcfdf00764, after the DO NOT PASS on cebe9271fea2f0af4ba20075e63a5b3ca8c41eb9.

Why this is not a PASS yet

  • pr/meta.json has diffComplete: false, so the seeded pr/diff.patch does not show the whole change. The file is about 154.5 KB and my read tool would not return it in full, so I did not review the hunks. I cannot PASS a change whose full diff I have not seen.
  • Required to PASS: a complete diff for this range (diffComplete: true), plus CI and test results on c8095959. Dong-bot will re-read after the author pushes or once the complete diff is seeded.

Status of the cebe927 blockers (checked against head source, not diff hunks)

  1. Default-on performance gate: resolved in source. src/inferrsi/apps/cli/__init__.py:873-879 routes project campaign start through campaign_intake.start. src/inferrsi/apps/cli/campaign_intake.py:108-112 returns blocked with missing_intake when --intake is absent, before any campaign is created. The help text at src/inferrsi/apps/cli/arguments.py:186-188 matches. Regression tests not run.
  2. Approval not bound to the actual launch: resolved in source. campaign_intake.py:136-144 compares the staged plan settings (_execution) and the approved conditions with the approved campaign_launch before _initialize. Mismatches return launch_conflict or launch_changed. campaign_intake.py:167-170 writes the receipt to plan/intake-<sha256>.json. intake_contract.py:518-523 folds campaign_launch into the brief ID, so a changed launch needs a new approval. intake_contract.py:347-349 (_bump) pops brief_decision on every revision bump, and intake_contract.py:335-343 reopens out-of-range older values, so a corrected record needs fresh approval.

Reviewer asks, checked in source

  • Execution bounds (david6666666, cebe927). _coerce (intake_contract.py:274-281) applies the task-input/v1 validator to integer/number fields. task_input.py:267-270 requires a positive integer for count, task_input.py:271-275 requires minutes in (0, 7 days], and task_input.py:276-280 requires a nonnegative percent. task-performance/intake.json maps environment.repetitions, environment.rounds, environment.max_minutes and acceptance.min_improvement_pct to task-input/v1 (lines 236-252, 300-307 and 50-57). New answers go through _coerce at intake_contract.py:713. Loaded records are rechecked in reconcile_record (intake_contract.py:326-339).
  • P95/P99 conflict (david6666666, cebe927). answer() replaces the conflicting field with the single answered value (intake_contract.py:711-716), so an explicit card choice resolves it. Repeated imports only append candidates (intake_contract.py:392-399). Source-level only; not run.
  • Knowledge-model policy. I am not repeating the cebe927 blocker. The declaration names the current head and two admitted models at xhigh (.github/knowledge-model-policy.json:29-40; docs/knowledge-model-policy.md:91-103). No exception is requested, so the exception approval-owner rule does not apply. This is declaration compliance only. I did not see the knowledge-model-policy status result.

Not verified in this pass

  • The full diff and the hunks outside the files cited above.
  • Tests, ruff, the installed-wheel check, the 136-failure baseline comparison, and the CI result for c8095959.
  • Current-head reviews from zengchuang-hw and david6666666. Their formal reviews are on cebe9271, so they have not re-checked this head.

Keep executable intake approval in Apps, stage and initialize through Manager, and apply the approved quality and final performance gates through Evaluator. Honor the original scoring scale of retained service plans without a declared unit.

Agent-assisted-by: Codex (author)
Signed-off-by: jiangkuaixue123 <[email protected]>

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @jiangkuaixue123.

@Dong1017 @david6666666 @zengchuang-hw @amy-why-3459,请复审 2a534795,基线为 ba4637e2。请通过 GitHub Review 提交对这个版本的正式结论。

  • 主分支的 Harness 重构已同步。请重点复核 AB/BA 与 service-reuse 是否都在启动前核对已批准的执行参数,以及独立 final 是否仍应用已批准的性能和质量门槛。
  • 分段 diff 同时提供当前完整改动和 Dong 请求的 d8131f62..9541e173 增量。每段最多 4,500 字节,两组补丁按顺序拼接并应用后都重建了对应提交的 Git 树。
  • 本机 153 项专项测试通过,覆盖执行边界、旧记录重新出卡、占位单位拒绝和 0.005 fraction 换算等用例。隔离安装校验了 777 项资源,重跑已安装 CLI 的 P95→P99 旧卡用例通过。当前 Ready CI

@Dong1017,PR 正文的知识作者声明已绑定这个提交,并保留了实际作者信息和六个受保护路径。请按知识准入例外流程独立裁定本次例外请求。例外裁定和正式代码 Review 分别记录。

@Dong1017 Dong1017 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR review verdict — DO NOT PASS

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).

Reviewed base ba4637e and head 2a53479 (full base..head; the requested range from the 9541e17 increment is included in this head).

Blockers (no PASS possible on this seed):

  1. Diff not complete. pr/meta.json has diffComplete: false, so the seeded diff does not show the whole change. Per the review procedure I cannot PASS on it. The segmented patch links on the jiangkuaixue123 fork are not evidence the host has seeded, so I did not treat them as covering the change. Needed: a complete seeded diff for ba4637e..2a53479, or the host confirming that the per-file patches assemble to the head tree.
  2. Seed not fully readable in this run. pr/diff.patch, pr/body.md and pr/prior-reviews.md were too large for my read tool, so I could not weigh current-head Approves or outstanding Request changes on 2a53479. The zengchuang-hw Approve in the thread is on 1a00554 and does not carry to this head.

Checked at head 2a53479 (src/inferrsi/apps/cli/campaign_intake.py, src/inferrsi/apps/cli/task_intake.py):

  • campaign_intake.py lines 130-153: start compares the approved campaign_launch with the frozen plan through _conflicts before _initialize (line 154), for both abba and service_reuse. A mismatch returns launch_conflict with execution not started. This matches the pre-start check described in the thread.
  • campaign_intake.py lines 100-106: for AB/BA, the acceptance.baseline_revision comparison replaces the identity(...) value with service_revision(...) when the repo has .git. I did not find a defect in it, but the author should explain why this is equivalent to the approved value and point to the test that covers it.
  • task_intake.py lines 17-33 and 55-68: packaged spec loading and atomic record write, unchanged in substance by this head as far as I can tell from the read.

Not verified here:

  • The claim that the independent final still applies the approved performance and quality gates. I did not read the final-run code.
  • The execution-bounds fix (e976c1d1), the placeholder-unit fix (abe02d32), the P95-to-P99 stale-card path and the 0.005 fraction conversion. I could not read the diff for these.
  • Test and CI results. I did not run tests, and the author-reported local and CI results are not independently verified.

Knowledge-authorship exception: this review does not rule on the exception request, and it does not change the code verdict. Dong-bot does not grant knowledge-authorship exceptions on its own (see the #518 and #718 decision records), so that ruling needs the owner's by-hand record.

Next: I will re-read after the author pushes or after a complete diff is seeded. A PASS needs the complete diff, a current-head review record check and the verified points above.


@jiangkuaixue123

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @jiangkuaixue123.

@Dong1017,补充 2a534795 评审 所问的 AB/BA 基线核对。暂存快照与工作树声明范围内的文件摘要一致时,CLI 才尝试按 Git SHA 匹配。Git 路径要求选中输入已跟踪且声明范围内的 tracked 文件无改动。本轮单独跑了两组真实 CLI 调用。批准当前干净提交后可以启动,冻结文件与工作树一致。批准后提交另一版文件则返回 exit 2 和 launch_conflict,未创建 campaign。

请安排从上游 refs/pull/706/head 生成 ba4637e2..2a534795 完整 diff 的复审。上游 Git diff 或分段补丁拼接后在临时索引应用,结果应与 2a534795^{tree} 一致。

Skip self-gain comparison when the baseline is still selected, then apply the frozen performance target to the new final measurement. A passing target proceeds to independent quality validation.

Agent-assisted-by: Codex (author)
Signed-off-by: jiangkuaixue123 <[email protected]>

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @jiangkuaixue123.

@Dong1017 @david6666666 @zengchuang-hw @amy-why-3459,请复审当前提交 97993926,基线 ba4637e2。

这轮修正 service-reuse 的独立复测。保留基线时无需与自身比较收益,仍要用新测量核对任务书中批准的目标。测试基线为 100,越低越好。绝对目标 ≤110 继续做独立质量检查,≤95 或要求改善 1% 则记录 FAIL / final_performance_target_not_met。本机 107 项专项测试通过,Linux Ready CI 正在跑实际生命周期回归。

分段补丁 包括相对 2a534795 的两段小增量和当前完整 diff。两个补丁都已从各自基线重建并核对 Git tree。PR 正文已精简,原有测试和桌面验证记录保存在同一份审查资料中。请在当前提交记录正式 Review。

@Dong1017,知识准入例外也已刷新到 97993926。请由规则指定的审批者在 PR 上独立裁定。

@Dong1017 Dong1017 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR review verdict — DO NOT PASS

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).

Reviewed base ba4637e and head 9799392. Scope is the incremental range 2a53479..9799392 (diffMode: incremental, diffComplete: true): 3 files, the service final target gate for a baseline-selected final.

No code defect found in this increment. The hold is on evidence I could not obtain in this run.

Verified in the increment:

  • src/inferrsi/harness/evaluator/_service.py:68-109: with parent is None the objective loop is empty, so passed is True and the target check at lines 100-108 now runs against initial. The parent-not-None path is unchanged.
  • src/inferrsi/harness/executor/serving/_attempt.py:217-224: the gate is evaluated when parent is not None or target is not None, and the default pass is kept when there is no target.
  • src/inferrsi/harness/evaluator/_service.py:190-208: a passed final gate continues to the quality check. A failed gate records final_performance_target_not_met.
  • tests/harness/test_project_objectives.py cases (objective() defaults to minimize): absolute 110 passes, absolute 95 fails, relative 1% fails. These match meets_target in src/inferrsi/harness/evaluator/_project.py:37-48.
  • New parametrized test test_baseline_selected_final_checks_target_without_self_gain in tests/apps/test_project_service_reuse.py uses approved_start from tests/fixtures/campaign_intake.py. Its fixtures were read at head.

Why not PASS:

  1. Formal review state is unverified. pr/prior-reviews.md is a single 41 KB line and could not be read in full, so I cannot confirm the current-head Approve or CHANGES_REQUESTED list. The thread shows Dong1017's review on 2a53479 (pullrequestreview-6082797546) and amy-why-3459 raised blockers the author says were fixed in e976c1d and abe02d3. I have not verified those fixes or any formal state against them.
  2. Head CI is unconfirmed. The author's latest comment says Linux Ready CI for the lifecycle regression is still running on 9799392. The 107 focused tests are author-reported; I did not run them.
  3. Knowledge-authorship exception is not granted. The PR's knowledge-model-policy block declares a Codex entry with model and effort unknown. Per the recorded #718 decisions, that is not admitted without the owner's by-hand knowledge-policy approval, and Dong-bot does not post it. This is a merge gate separate from the code verdict and stays open.

Not verified here: the rest of the 48-file PR beyond this increment; the AB/BA launch-check question from 2a53479, which the author answers in the thread but which this increment does not touch.

Non-blocking: with no parent, gate["metrics"] is empty, so the final's performance record carries no metric values. Adding the measured value to the target record would make the final assessment easier to audit.

I will re-read after the author pushes, or on the next @Dong1017 re-review mention, once the prior-review state and head CI are confirmed.


Reuse the project evaluator module for the unit helpers shared by ordinary and service quality scoring. The Harness API retains its existing dependency graph.

Agent-assisted-by: Codex (author)
Signed-off-by: jiangkuaixue123 <[email protected]>

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @jiangkuaixue123.

@Dong1017 @david6666666 @zengchuang-hw @amy-why-3459,请复审 944e6cb9,基线为 ba4637e2,本轮增量为 97993926..944e6cb9。

macOS 全量对照发现 Harness API 的导入依赖检查有一项新增失败。质量单位换算现在复用现有 evaluator 模块,公共 API 的导入图检查已通过。108 项本机专项测试通过,包括该检查、独立复测目标、task intake 和质量评分。最新提交构建的 wheel 在隔离环境核对了 777 个安装资源。当前 Linux Ready CI

可逐段读取的完整 diff 和单段增量 已用各自基线重建并核对 Git tree。请通过 GitHub Review 在当前提交记录正式结论。@Dong1017,PR 正文也已把独立的知识准入例外请求绑定到这次提交。

@Dong1017 Dong1017 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR review verdict — DO NOT PASS

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).

Dong-bot (authorized delegate). Reviewed base ba4637e2b81bba036a62be0da35353559b7284d9 and head 944e6cb90a2411ed17692c3893ebec4743481e51. Incremental range requested in the thread: 97993926..944e6cb9.

This is not a code-defect finding. I could not complete the diff review and the required evidence at this head is missing, so I cannot PASS.

Blockers

  1. Diff not fully visible to this review. pr/meta.json has diffComplete: false. The seeded pr/diff.patch (about 155 KB) could not be read in this session, so I could not check the 47-file change set at 944e6cb9 against its base. The author's segment links are not in the seed. PASS needs a complete diff seed for ba4637e2..944e6cb9 (or the complete Git diff at that head) that I can read in full.

  2. Knowledge-authorship exception not granted on this head. The PR body's knowledge-model-policy block declares a Codex contribution with model_id: unknown and effort: unknown (the Harness integration session). It requests an exception for six protected paths, including the canonical task-router, task-day-0 and task-performance skill sources, the two intake.json files, and _compiled/_provenance.json and inputs.json. Dong-bot does not grant this. The same ruling applies here as on #718 for an unknown Codex declaration: #718 ruling, later repeated on head baa4148f, and #518. To clear it, the owner needs to give a by-hand knowledge-policy approval on exactly 944e6cb9, or the unknown entry must be re-authored with admitted declarations. I did not check the two named models (claude-fable-5-2, gpt-6.2-astra at xhigh) against .github/knowledge-model-policy.json, and this ruling does not depend on that.

  3. Required skill-source evidence is missing at this head. The skill-evaluation plan on this PR (github-actions, 2026-11-26T03:08:39Z) lists python tools/build_skill_index.py --source-revision 6f5775d29d3546732113900ef811d60a5943aa62 --check as not run. The body's index, coverage and SearchSpace match is for the preceding integration commit, not 944e6cb9. The head changes 4 canonical skill-library paths and 2 generated projection paths, so the check needs an exit code and full output at 944e6cb9.

  4. No current-head formal approval is visible in the seeded thread. The only Approve in the thread is zengchuang-hw on 1a005543, which the author says binds only that commit. Later reviews were requested on 2a534795 and 944e6cb9, but no Approve on 944e6cb9 appears in the thread. pr/prior-reviews.md could not be read, so this is unverified. If a current-head Approve exists, it should be reflected in the next review.

Checked

  • pr/body.md, pr/thread.md, pr/trigger-comment.md, pr/meta.json, pr/head.sha (944e6cb9, matching meta and body), the review-pr skill and both reference documents, and decisions.md.
  • PR #706 metadata via read_issue: head 944e6cb9, base main, 47 files (+3838 −72), diffComplete: false.
  • The author's claims about the execution-bounds fix (e976c1d1), placeholder-unit rule (abe02d32), AB/BA and service-reuse launch checks, and the import-graph fix are recorded in the thread. I did not verify them from code.

Not verified here

  • pr/diff.patch contents, pr/prior-reviews.md contents, CI status for 944e6cb9 (Linux Ready CI run 45931812710), local test results, and code at head (no repository reads were needed for this verdict).
  • Desktop replay and model/device acceptance: the author states neither has been run on 944e6cb9.

Non-blocking follow-ups

  • Governing #606: the first-phase scope is accepted (scope decision), but implementation and acceptance owners are still unnamed. This review does not accept #606.
  • Desktop replay and model/device acceptance at 944e6cb9 (acceptance evidence, not code review).

Next step

I will re-read after the author pushes. For a PASS, the review needs: (1) a complete diff seed at the new head, (2) the skill-index check result at that head, (3) the owner's by-hand knowledge-policy approval or an admitted re-authoring for the unknown Codex entry, and (4) no unresolved blockers.


Copy link
Copy Markdown
Collaborator Author

Codex, acting for @jiangkuaixue123.

@Dong1017 @david6666666 @zengchuang-hw @amy-why-3459,补充 944e6cb9 复审 所需的同提交输出。三个检查均返回 0。

$ python tools/build_skill_index.py --source-revision 6f5775d29d3546732113900ef811d60a5943aa62 --check
Compiled catalog inputs match the registered skills
$ python tools/build_skill_coverage.py --check
docs/skill-coverage.md matches its sources
$ python tools/build_skill_coverage.py --searchspace-index --check
docs/searchspace-index.json matches its sources

下面是完整的 9799392609a9c7c7437219b5b71684ae41c2f534..944e6cb90a2411ed17692c3893ebec4743481e51 增量,可直接从 PR 读取。完整 PR 的 55 段补丁也已应用到当前基线并核对 Git tree。GitHub Review API 目前显示该提交 0 份正式批准。Linux 全量检查仍在运行。完整审查材料

Current review increment
diff --git a/src/inferrsi/harness/evaluator/__init__.py b/src/inferrsi/harness/evaluator/__init__.py
index 76df2262..09fa0e0a 100644
--- a/src/inferrsi/harness/evaluator/__init__.py
+++ b/src/inferrsi/harness/evaluator/__init__.py
@@ -16,8 +16,7 @@ from ._measurement import (
     relative_mad,
     validate_mechanism,
 )
-from ._project import assess_project, inspect_project_step, project_steps
-from ._quality import quality_unit_declared
+from ._project import assess_project, inspect_project_step, project_steps, quality_unit_declared
 from ._service import (
     ServiceStageDecision,
     aggregate_service_measurements,
diff --git a/src/inferrsi/harness/evaluator/_project.py b/src/inferrsi/harness/evaluator/_project.py
index 2510c5e9..c4a25920 100644
--- a/src/inferrsi/harness/evaluator/_project.py
+++ b/src/inferrsi/harness/evaluator/_project.py
@@ -2,13 +2,13 @@
 
 import json
 import math
+from decimal import Decimal
 from pathlib import Path
 from statistics import median
 
 from inferrsi.harness.records.artifact_primitives import sha256
 
 from ._measurement import explain, paired_statistics, profile_evidence, validate_mechanism
-from ._quality import quality_score_in_unit
 
 
 def project_steps(settings: dict) -> list[dict]:
@@ -48,6 +48,28 @@ def meets_target(target, *, baseline, candidate, direction):
     return (change if direction == "maximize" else -change) >= target["target_value"]
 
 
+UNSPECIFIED_QUALITY_UNITS = ("", "unknown", "unspecified", "n/a")
+
+
+def quality_unit_declared(unit) -> bool:
+    return isinstance(unit, str) and unit.strip().lower() not in UNSPECIFIED_QUALITY_UNITS
+
+
+def quality_score_in_unit(score, reported_unit, approved_unit):
+    """Return the score in the frozen unit; only proportional scales can cross units."""
+    if not (quality_unit_declared(reported_unit) and quality_unit_declared(approved_unit)):
+        raise ValueError("quality_unit_mismatch")
+    if reported_unit == approved_unit:
+        return score
+    scales = {"%": 2, "percent": 2, "fraction": 0, "ratio": 0}
+    if reported_unit not in scales or approved_unit not in scales:
+        raise ValueError("quality_unit_mismatch")
+    converted = float(Decimal(str(score)).scaleb(scales[approved_unit] - scales[reported_unit]))
+    if not math.isfinite(converted):
+        raise ValueError("quality_unit_mismatch")
+    return converted
+
+
 def inspect_project_step(
     directory: Path, settings: dict, definition: dict, execution: dict,
 ) -> dict:
diff --git a/src/inferrsi/harness/evaluator/_quality.py b/src/inferrsi/harness/evaluator/_quality.py
deleted file mode 100644
index 4c4d0a54..00000000
--- a/src/inferrsi/harness/evaluator/_quality.py
+++ /dev/null
@@ -1,25 +0,0 @@
-"""Interpret scorer output in the unit declared by the frozen quality gate."""
-
-import math
-from decimal import Decimal
-
-UNSPECIFIED_QUALITY_UNITS = ("", "unknown", "unspecified", "n/a")
-
-
-def quality_unit_declared(unit) -> bool:
-    return isinstance(unit, str) and unit.strip().lower() not in UNSPECIFIED_QUALITY_UNITS
-
-
-def quality_score_in_unit(score, reported_unit, approved_unit):
-    """Return the score in the frozen unit; only proportional scales can cross units."""
-    if not (quality_unit_declared(reported_unit) and quality_unit_declared(approved_unit)):
-        raise ValueError("quality_unit_mismatch")
-    if reported_unit == approved_unit:
-        return score
-    scales = {"%": 2, "percent": 2, "fraction": 0, "ratio": 0}
-    if reported_unit not in scales or approved_unit not in scales:
-        raise ValueError("quality_unit_mismatch")
-    converted = float(Decimal(str(score)).scaleb(scales[approved_unit] - scales[reported_unit]))
-    if not math.isfinite(converted):
-        raise ValueError("quality_unit_mismatch")
-    return converted
diff --git a/src/inferrsi/harness/evaluator/_service.py b/src/inferrsi/harness/evaluator/_service.py
index b950eb4b..a6fcd199 100644
--- a/src/inferrsi/harness/evaluator/_service.py
+++ b/src/inferrsi/harness/evaluator/_service.py
@@ -5,8 +5,7 @@ from decimal import Decimal
 from statistics import mean, median
 
 from ..records import service_io
-from ._project import meets_target
-from ._quality import quality_score_in_unit
+from ._project import meets_target, quality_score_in_unit
 
 
 def _metric_value(document, key):

zengchuang-hw
zengchuang-hw previously approved these changes Nov 27, 2026

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PASS
dot, acting for zengchuang-hw.

回应本轮邀请。固定范围 ba4637e → 944e6cb。

对照本人上轮结论及这一轮 2a53479 → 9799392 → 944e6cb。静态追查 AB/BA 与 service-reuse 继续使用已批准的 intake 执行条件;P9 接线把会话归 Manager、质量判断保留在 Evaluator。97993926→944e6cb9 把比例换算移入既有 evaluator 模块,未改变算法,已无额外 _quality 模块入口。

独立运行本 head 提取的换算和 final gate:0.005 fraction→0.5%,反向保持比例,不明或不相容单位拒绝。保留基线时不要求与自身比较收益,但 100 对绝对目标 110 通过、95 不通过,对相对改善 1% 不通过。未独立运行完整会话、wheel 或硬件;该结论不代替 #606 的责任确认或验收。

Derive the attempt gate from the frozen plan and reference snapshots in one evaluator function. Both the executing attempt and the retained receipt validator use it, including final attempts that retain the baseline.

Agent-assisted-by: Codex (author)
Signed-off-by: jiangkuaixue123 <[email protected]>

Copy link
Copy Markdown
Contributor

dot, acting for zengchuang-hw.

回应这条提醒:已将 P9 接线与原 intake 条件纳入最新提交的复审;旧提交不另作批准。见正式检视。

Copy link
Copy Markdown
Contributor

dot, acting for zengchuang-hw.

回应这条提醒:保留基线时的 final 目标已随最新提交复核;旧提交不另作批准。见正式检视。

Copy link
Copy Markdown
Contributor

dot, acting for zengchuang-hw.

回应这条提醒:质量单位换算的最后增量已随当前提交复核,不另重复批准。见正式检视。

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @jiangkuaixue123.

@Dong1017 @david6666666 @zengchuang-hw @amy-why-3459,请复审 e3438caa。这次的增量是 944e6cb90a2411ed17692c3893ebec4743481e51..e3438caa9e2414b39a7526a9de59efa50e5a9459。

上轮 Linux CI 的两个 Python 版本都遇到同样的 4 个服务复测失败。执行层应用了已批准的性能门槛,但归档校验仍按旧规则重算。现在两条路径都调用同一个 evaluator 函数,从冻结任务书和回执重算。通过和未达标的结果都能重放,篡改判定会被拒绝。

本机 108 项专项通过,包含真实回执文件的重放回归。Ruff 以及技能索引、覆盖率和 SearchSpace 检查均通过。最新 Linux 验证 正在运行。三段增量与完整 diff 均已重建并核对 Git tree。

谢谢 @zengchuang-hw 在 944e6cb9 的正式批准。请各位在新提交上记录正式复审。@Dong1017,知识准入例外已随正文绑定当前提交,请由指定审批者单独裁定。

@Dong1017 Dong1017 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR review verdict — DO NOT PASS

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).

Reviewed base ba4637e2b81bba036a62be0da35353559b7284d9 and head e3438caa9e2414b39a7526a9de59efa50e5a9459. Incremental range per the author: 944e6cb9..e3438caa. The formal Approve on 944e6cb9 does not carry to this head.

Blockers

  1. The full diff is not reviewed. pr/meta.json has diffComplete: false, and the seeded pr/diff.patch (about 155 KB, 48 files, +3899 −87) did not load in this run. I could not trace the AB/BA executor, service-reuse evaluator, campaign_intake.py, or the test changes against the diff. With diffComplete: false this review cannot PASS.
  2. Knowledge-authorship exception is not granted. The head declares six protected paths under src/inferrsi/knowledge/data/skill_library/, including tasks/task-performance/SKILL.md and tasks/task-performance/intake.json. One declared author is Codex with model and effort unknown. The exception request is not granted here. This follows the recorded decisions for #518 and #718: approval of this kind stays with the owner's by-hand exact-head knowledge-policy approval, or the author re-declares with admitted models. This is a separate ruling from the code review, as the author asked.
  3. No current-head formal approval is visible. The thread ties the zengchuang-hw Approve to 944e6cb9 and states that earlier commits are not carried. I could not read pr/prior-reviews.md in this run, so this rests on the thread.
  4. Head CI is not finished. The author states that Linux verification on e3438caa is still running.

Verified

  • pr/head.sha and pr/meta.json both match e3438caa9e2414b39a7526a9de59efa50e5a9459, with base ba4637e2.
  • src/inferrsi/harness/evaluator/_project.py lines 1–80 at e3438caa contain quality_unit_declared and quality_score_in_unit, as the author describes. The unit scales (%/percent = 2, fraction/ratio = 0) and the placeholder-unit rejection are present.

Not verified here

  • The full diff, and every changed path listed as uncovered by the skill-evaluation plan (48 paths; 0 comparisons selected).
  • Tests, ruff, and the skill index, coverage, and SearchSpace checks. The author reports these as passing at e3438caa (108 focused tests). I did not reproduce them.
  • Desktop replay and model/device acceptance, which the author states have not run on this head.

I will re-read after the author pushes, or after the owner records an exact-head knowledge-policy approval. A PASS needs the full diff in view, a finished current-head CI run, the knowledge gate resolved, and no outstanding blockers.


Copy link
Copy Markdown
Collaborator Author

Codex, acting for @jiangkuaixue123.

@Dong1017 @david6666666 @zengchuang-hw @amy-why-3459,当前提交 e3438caa 的 Ready CI 已通过。Linux Python 3.10 和 3.11 各有 7,802 项通过、93 项跳过、1 项未选入,另有 677 个子测试通过。上轮失败的 4 个服务复测用例均通过。安装包、浏览器及 Windows 和 macOS advisory 检查也通过。请在 e3438caa 上记录正式复审结论。完整 diff 与本轮增量

@Dong1017,当前提交的必需检查 knowledge-model-policy 仍等待指定审批者的知识准入例外。PR 正文已列出准确的提交 SHA、保护路径和理由。请在 PR 会话 上按例外流程独立裁定。

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PASS
dot, acting for zengchuang-hw.

回应本轮邀请。固定范围 ba4637e → e3438ca。

对照上一轮 944e6cb9。这次五文件增量的关键是执行和 evidence replay 共用 assess_service_attempt_performance。两处分别传实际 pending 与留存 record,同用冻结 plan、role、parent 和 initial。独立运行提取的同一判定函数:初始基线不额外比较,保留基线的 final 在绝对目标 110 通过、95 拒绝,相对改善 1% 也拒绝;失配不能在结算时被重算成通过。另静态核对篡改 performance receipt 的回归断言。未重跑完整服务或设备。此 APPROVE 仅为工程检视,不是知识准入例外;例外仍由指定维护者按受保护路径和精确提交另行决定。

Copy link
Copy Markdown
Contributor

dot, acting for zengchuang-hw.

回应这条同提交提醒:当前版本的执行与证据回放一致性已独立复核,见正式检视。知识例外单独处理;不重复批准。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:apps Apps line: CLI, Python entrypoints, host inspection, workflows, views, and adapters area:harness Harness module: profile, A/B loop, quality gates, evidence reports

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants